{php if(isset($cates[getGP('id','','int')])) $_G['title']=$cates[getGP('id','','int')]['catename'];}
{template header}
	
    <div class="navbottom">
    {php $navs=get_nav(2,10);}
    {if !empty($navs['nvs'])}
      <div class="l">
        <span>热门：</span>
        {loop $navs['nvs'] $n}
        <a href="{$n['url']}" {if $n['target']}target="_blank"{/if} title="{if $n['title']}{$n['title']}{else}{$n['name']}{/if}" class="this {if $n['highlight']}highlight{/if}">{$n['name']}</a>
        {/loop}
      </div>
     {/if} 
      <div class="r"><a href="/"  rel="external nofollow">给我们留言</a>|<a onmouseover="mopen('history');" onmouseout="mclosetime()" class="history red"  rel="external nofollow">历史记录</a></div>
      <div id="history" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"></div>
      <script src="{THEME_URL}js/history_new.js"></script>
 	<script type="text/javascript" >AddHistory();</script>
    </div>
	
<div class="wrap">
    <div class="topic mb l">
        {php $datas=get_article_list(getGP('id','','int'),10);}
        {loop $datas.datas $d}
            <div class="topic_r">
              <h2><a href="{url article.php?id=$d[aid]}" target="_blank" title="{$d['title']}">{$d['title']}</a></h2>
              {if $d['default_image']}<div class="thumb"><a href="{url article.php?id=$d[aid]}" target="_blank" title="{$d['title']}" ><img alt="{$d['title']}" src="{DATA_DIR}files/{$d['default_image']}"></a></div>{/if}
              <p>{$d['summary']}</p>
              <div class="postdata"><span>栏目: <em><a class="type" href="{url category.php?id=$d[cid]}" target="_blank">{$d['catename']}</a></em></span><span>发表日期: <em>{gdate('Y-m-d',$d['dateline'])}</em></span><span>阅读: <em>{$d['views']}</em></span><span>评论数: <em>{$d['comments']}</em></span>{if $d['tags']}<span>标签：<em>{$d['tags']}</em></span>{/if}</div>
              <div class="rmore"><a href="{url article.php?id=$d[aid]}" title="阅读更多关于《{$d['title']}》" target="_blank">阅读更多&gt;&gt;</a></div>
            	<div class="clear"></div>
            </div>
          {/loop}
        
        <div class="page">{$datas.page}<div class="clear"></div></div>
      </div>
      
    {template left}
    <div class="clear"></div>
    <!--/Main-->
  <!--/Box-->
 
</div>
<!--/Wrap-->
{template footer}